Don't use Gtk+ tooltip unless Gtk+ version => 2.14.
authorJan D. <jan.h.d@swipnet.se>
Mon, 2 Aug 2010 12:46:33 +0000 (14:46 +0200)
committerJan D. <jan.h.d@swipnet.se>
Mon, 2 Aug 2010 12:46:33 +0000 (14:46 +0200)
commit77870aacf0ca38f9096dc9843755ca46c8c6d5b0
tree25fa97df30faf66cd13f90f8f29de6d99b2cc594
parent4f9ffc3b7be19db103d223feb20968de5e81c25d
Don't use Gtk+ tooltip unless Gtk+ version => 2.14.

* gtkutil.c (hierarchy_ch_cb, qttip_cb): Do not define unless
USE_GTK_TOOLTIP.
(xg_prepare_tooltip): Return 0 unless USE_GTK_TOOLTIP
(xg_show_tooltip, xg_hide_tooltip): Do nothing unless
USE_GTK_TOOLTIP.
(xg_create_frame_widgets): Surrond tooltip-related code with ifdef
USE_GTK_TOOLTIP.
(xg_free_frame_widgets): Don't delete ttip_* unless USE_GTK_TOOLTIP.

* xterm.h (USE_GTK_TOOLTIP): New define.
(struct x_output): Put ttip_* inside ifdef USE_GTK_TOOLTIP.
src/gtkutil.c